# Maintainer:
pkgname=lv2lint
pkgver=0.16.2
pkgrel=2
pkgdesc="LV2 plugin specification checker"
url="https://open-music-kontrollers.ch/~hp/lv2lint/"
arch="all"
license="Artistic-2.0"
makedepends="
	curl-dev
	elfutils-dev
	lilv-dev
	lv2-dev
	meson
	"
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://git.open-music-kontrollers.ch/~hp/lv2lint/archive/$pkgver.tar.gz"

build() {
	abuild-meson \
		-Donline-tests=enabled \
		-Delf-tests=enabled \
		. output
	meson compile -C output
}

check() {
	meson test --print-errorlogs --no-rebuild -C output
}

package() {
	DESTDIR="$pkgdir" meson install --no-rebuild -C output
}

sha512sums="
8abd393832179f526d15b141a88239af355cdcccd9284e44c3deea2e4d189959242311993d6ef04aea5634d02e01f659cd4141092668cf9b7e13c1d136923ce8  lv2lint-0.16.2.tar.gz
"
